package com.maysham.tripod.service;

import com.maysham.tripod.model.Code;
import com.maysham.tripod.request.CodeCreateReq;
import com.maysham.tripod.request.CodeUpdateReq;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface CodeService {
    Page<Code> codePage(String groupId, Pageable pageable);

    Code create(CodeCreateReq req);

    Code update(CodeUpdateReq req);
}
